import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
// 引入全局样式
import './assets/css/global.css'
// 引入iconfont
import './assets/font/iconfont.css'
// 引入axios
import axios from 'axios'
// 引入加密js
import EncryptUtils from './utils/DataEncryptUtils'

// 挂载axios
Vue.prototype.$http = axios
// 设置访问根路径
axios.defaults.baseURL = "http://192.168.0.104:8000"

Vue.config.productionTip = false

// 挂载加密
Vue.prototype.$encrypt = EncryptUtils

new Vue({
  router,
  render: function (h) { return h(App) }
}).$mount('#app')
